#pragma once

#include "../umlmodel_global.h"

#include "LinkAction.h"

namespace uml {

/// <summary>
/// WriteLinkAction
/// WriteLinkAction is an abstract class for LinkActions that create and destroy
/// links.
/// </summary>
class UMLMODEL_EXPORT WriteLinkAction : public LinkAction {

public: // Constructors and destructors
    explicit WriteLinkAction(const QString& umlType="uml::WriteLinkAction");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
